package com.xinzhi.model;

import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 
 * </p>
 *
 * @author laohan
 * @since 2024-01-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@ApiModel(value="YfsActivity对象", description="")
public class YfsActivity implements Serializable {

private static final long serialVersionUID=1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    private String uuid;

    @ApiModelProperty(value = "活动id")
    private Integer activityId;

    @ApiModelProperty(value = "标题")
    private String title;

    @ApiModelProperty(value = "副标题")
    private String subTitle;

    @ApiModelProperty(value = "封面")
    private String thumb;

    @ApiModelProperty(value = "轮播图")
    private String images;

    @ApiModelProperty(value = "详情图")
    private String detailImages;

    @ApiModelProperty(value = "背景图")
    private String imageBg;

    @ApiModelProperty(value = "3D立体盒子图")
    private String image3d;

    @ApiModelProperty(value = "0为免费 1为需要支付")
    private Boolean isNeedPay;

    @ApiModelProperty(value = "人民币价格")
    private Integer moneyPrice;

    @ApiModelProperty(value = "积分价格")
    private Integer scorePrice;

    @ApiModelProperty(value = "访问人数")
    private Integer visitTotal;

    @ApiModelProperty(value = "房间数量")
    private Integer roomTotal;

    @ApiModelProperty(value = "普通赏的数量")
    private Integer normalSkuTotal;

    @ApiModelProperty(value = "赠送赏的数量")
    private Integer giftSkuTotal;

    @ApiModelProperty(value = "每个用户限制参与次数")
    private Integer perUserLimit;

    @ApiModelProperty(value = "每个房间中的总发数")
    private Integer totalPerRoom;

    @ApiModelProperty(value = "权重")
    private Integer listWeight;

    @ApiModelProperty(value = "0已下架 1为已上架")
    private Integer status;

    private Date deletedAt;

    private Date createdAt;

    private Date updatedAt;

    @ApiModelProperty(value = "是否强制要求手机号")
    private Boolean isNeedPhone;

    @ApiModelProperty(value = "奖品库存")
    private Integer stock;

    @ApiModelProperty(value = "奖品销量")
    private Integer sales;

    @ApiModelProperty(value = "设置最后多少发时才可全包，空为不限制")
    private Integer lastStockAllPickEnable;

    @ApiModelProperty(value = "是否限制单发抽")
    private Boolean isLimit1;

    @ApiModelProperty(value = "全包前需要参与的发数")
    private Integer buyBeforeAllPick;

    @ApiModelProperty(value = "标签")
    private String tags;

    @ApiModelProperty(value = "前半场参与多少次才可全包")
    private Integer halfBuyBeforeAllPick;

    @ApiModelProperty(value = "免单次数")
    private Integer freeOrderTotal;

    @ApiModelProperty(value = "是否开启邀请机制")
    private Boolean isInviteEnabled;

    @ApiModelProperty(value = "邀请规则")
    private String inviteRule;

    @ApiModelProperty(value = "拉新用户数")
    private Integer inviteUserTotal;

    @ApiModelProperty(value = "参与用户数")
    private Integer joinUserTotal;


}
